package per.lee.spingboothelper.common.export.bean;

import lombok.Data;

/**
 * 跨列多Sheet标题实体
 * @author lixiaoying
 */
@Data
public class SpanTitle {

    private Integer firstRow;

    private Integer lastRow;

    private Integer firstCol;

    private Integer lastCol;

    private String title;

    private Integer sheetIndex;


    public SpanTitle(Integer firstRow, Integer lastRow, Integer firstCol, Integer lastCol, String title, Integer sheetIndex) {
        this.firstRow = firstRow;
        this.lastRow = lastRow;
        this.firstCol = firstCol;
        this.lastCol = lastCol;
        this.title = title;
        this.sheetIndex = sheetIndex;
    }

    public SpanTitle(Integer firstRow, Integer lastRow, Integer firstCol, Integer lastCol, String title) {
        this.firstRow = firstRow;
        this.lastRow = lastRow;
        this.firstCol = firstCol;
        this.lastCol = lastCol;
        this.title = title;
    }

}
